package com.example.tests;

import org.testng.annotations.Test;

public class ContactCreationTests extends TestBase{
   
  @Test
  public void testNonEmptyAddressBookEntryCreation() throws Exception {
	openMainPage();
	gotoAddAddressBookEntry();
	AddressBookData addressBookData = new AddressBookData();
	addressBookData.firstname="First Name A1";
	addressBookData.lastname="Last Name A1";
	addressBookData.address="Primary Address A1";
	addressBookData.homephone="+375171111111";
	addressBookData.mobilephone="+375441111111";
	addressBookData.email1="test1@test.test";
	addressBookData.email2="test2@test.test";
	addressBookData.day = "12";
	addressBookData.month = "March";
	addressBookData.year="1991";
	addressBookData.address2="Secondary Address 1";
	addressBookData.homephone2="+375171111112";
	fillNewAddressBookEntry(addressBookData);
    //submitNewAddressBookEntry();
	submitResults();
	returnToHomePage();
  }
  
}

